<?php
class Joomla15crawl_WidgetController extends Baogg_Controller_Action_Site
{
	/**
	 * The default action - show the home page
	 */
	public function indexAction ()
	{
		$params=$this->getRequest()->getParams();
		
		$catid=$params['catid'];
		
		
		$data=$this->_helper->widget->getJson($params['widget_id'],$params);
		
		echo Zend_Json::encode($data);
		$this->_helper->viewRenderer->setNoRender();
	}
}